package com.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("技术服务总结单视图对象")
public class ServiceSummaryOrderVO {

    @ApiModelProperty(value = "主键，唯一标识每条服务总结单")
    private Long id;

//    @ApiModelProperty(value = "任务单ID，对应任务单表的主键")
//    private Long taskId;

    @ApiModelProperty(value = "服务单号，唯一标识每条服务记录")
    private String serviceNumber;

    @ApiModelProperty(value = "服务实施人姓名")
    private String serviceImplementerName;
    private List<String> serviceImplementerNameList;

    @ApiModelProperty(value = "服务完成日期")
    private String completionDate;

    @ApiModelProperty(value = "客户公司名称")
    private String customerCompanyName;

    @ApiModelProperty(value = "客户联系人姓名")
    private String customerContactsName;

    @ApiModelProperty(value = "销售经理姓名")
    private String salesManagerName;

    @ApiModelProperty(value = "服务地点")
    private String serviceLocation;

    @ApiModelProperty(value = "工作明细描述")
    private String workDetails;

    @ApiModelProperty(value = "确认人盖章时间")
    private String confirmationStamp;

//    @ApiModelProperty(value = "创建时间，默认为当前时间")
//    private String createTime;
//
//    @ApiModelProperty(value = "更新时间，每次更新时自动刷新")
//    private String updateTime;
//
//    @ApiModelProperty(value = "制表人（当前登录用户名）")
//    private String createdBy;

    @ApiModelProperty(value = "图片预处理URL")
    private String imagesUrl;

    @ApiModelProperty(value = "更换零部件列表")
    private List<ReplacementPartVO> replacementPartList;

    @ApiModelProperty (value = "状态")
    private String status;

    @ApiModelProperty(value = "合计")
    private double total;
}